package com.example.demo.controller;


import com.example.demo.ao.NetIncreaseCapAo;
import com.example.demo.service.NetIncreaseCapService;
import com.example.demo.vo.NetIncreaseCapVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/member/net/increase")
@Slf4j
public class NetIncreaseCapController {

    @Autowired
    private NetIncreaseCapService netIncreaseCapService;


    /**
     * 行业类别
     */
    @PostMapping("/cap/getnetincreasecap/indcls")
    public List<NetIncreaseCapVo> getNetIncreaseCap(@RequestBody NetIncreaseCapAo netIncreaseCapAo){
        List<NetIncreaseCapVo> netIncreaseCap = netIncreaseCapService.getNetIncreaseCap(netIncreaseCapAo);
        return netIncreaseCap;
    }

}
